package com.zhongde.cloud89app.bean;

import android.graphics.Paint;

import com.bin.david.form.annotation.SmartColumn;
import com.bin.david.form.annotation.SmartTable;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

@SmartTable
public class MeterData {
    private int id;
    @SmartColumn(id = 1, name = "表号", align = Paint.Align.CENTER, fixed = true)
    private String meterCoding;
    @SmartColumn(id = 3, name = "电表类型", align = Paint.Align.CENTER)
    private String meterType;
    @SmartColumn(id = 3, name = "用户名", align = Paint.Align.CENTER)
    private String name;
    @SmartColumn(id = 4, name = "用户地址", align = Paint.Align.CENTER)
    private String addr;
    @SmartColumn(id = 5, name = "开始时间", align = Paint.Align.CENTER)
    private String startTime;
    @SmartColumn(id = 6, name = "结束时间", align = Paint.Align.CENTER)
    private String finishTime;
    @SmartColumn(id = 7, name = "读取状态", align = Paint.Align.CENTER)
    private String readingState;
    @SmartColumn(id = 8, name = "轮数", align = Paint.Align.CENTER)
    private String wheel;
    @SmartColumn(id = 9, name = "kwh", align = Paint.Align.CENTER)
    private String kwh;

    private String kwhGetTime;
    @SmartColumn(id = 10, name = "ua", align = Paint.Align.CENTER)
    private String ua;
    @SmartColumn(id = 11, name = "ub", align = Paint.Align.CENTER)
    private String ub;
    @SmartColumn(id = 12, name = "uc", align = Paint.Align.CENTER)
    private String uc;

    private String uGetTime;
    @SmartColumn(id = 13, name = "ia", align = Paint.Align.CENTER)
    private String ia;
    @SmartColumn(id = 14, name = "ib", align = Paint.Align.CENTER)
    private String ib;
    @SmartColumn(id = 15, name = "ic", align = Paint.Align.CENTER)
    private String ic;
    private String iGetTime;
    @SmartColumn(id = 16, name = "iN", align = Paint.Align.CENTER)
    private String io;
    private String ioGetTime;

//    @SmartColumn(id = 17, name = "powerActivePositive", align = Paint.Align.RIGHT)
//    private String powerActivePositive;
//    @SmartColumn(id = 18, name = "powerActiveReverse", align = Paint.Align.RIGHT)
//    private String powerActiveReverse;

    /**
     * 暂不显示
     */
//    private String powerGetTime;
//    @SmartColumn(id = 19, name = "p总", align = Paint.Align.RIGHT)
//    private String pTotal;
//    @SmartColumn(id = 20, name = "pa", align = Paint.Align.RIGHT)
//    private String pa;
//    @SmartColumn(id = 21, name = "pb", align = Paint.Align.RIGHT)
//    private String pb;
//    @SmartColumn(id = 22, name = "pc", align = Paint.Align.RIGHT)
//    private String pc;
//    private String pGetTime;
//    @SmartColumn(id = 23, name = "q总", align = Paint.Align.RIGHT)
//    private String qTotal;
//    @SmartColumn(id = 24, name = "qa", align = Paint.Align.RIGHT)
//    private String qa;
//    @SmartColumn(id = 25, name = "qb", align = Paint.Align.RIGHT)
//    private String qb;
//    @SmartColumn(id = 26, name = "qc", align = Paint.Align.RIGHT)
//    private String qc;
//    private String qGetTime;
//    @SmartColumn(id = 27, name = "cos总", align = Paint.Align.RIGHT)
//    private String cosTotal;
//    @SmartColumn(id = 28, name = "cosA", align = Paint.Align.RIGHT)
//    private String cosA;
//    @SmartColumn(id = 29, name = "cosB", align = Paint.Align.RIGHT)
//    private String cosB;
//    @SmartColumn(id = 30, name = "cosC", align = Paint.Align.RIGHT)
//    private String cosC;
//
//    private String cosGetTime;
//    @SmartColumn(id = 31, name = "∠A", align = Paint.Align.RIGHT)
//    private String angleA;
//    @SmartColumn(id = 32, name = "∠B", align = Paint.Align.RIGHT)
//    private String angleB;
//    @SmartColumn(id = 33, name = "∠C", align = Paint.Align.RIGHT)
//    private String angleC;
//    private String angleGetTime;

    @SmartColumn(id = 34, name = "端钮开盖次数", align = Paint.Align.CENTER)
    private String lidOpenNumber;
    @SmartColumn(id = 35, name = "最后开端钮盖时间", align = Paint.Align.CENTER)
    private String lidOpenTime;
    @SmartColumn(id = 36, name = "最后合端钮盖时间", align = Paint.Align.CENTER)
    private String lidCloseTime;
    //    @SmartColumn(id = 37, name = "pLidLastopen", align = Paint.Align.RIGHT)
//    private String pLidLastopen;
//    @SmartColumn(id = 38, name = "pLidLastclose", align = Paint.Align.RIGHT)
//    private String pLidLastclose;
    @SmartColumn(id = 39, name = "开盖次数", align = Paint.Align.CENTER)
    private String coverOpenNumber;
    @SmartColumn(id = 40, name = "最后开大盖时间", align = Paint.Align.CENTER)
    private String coverOpenTime;
    @SmartColumn(id = 41, name = "最后合大盖时间", align = Paint.Align.CENTER)
    private String coverCloseTime;
    //    @SmartColumn(id = 42, name = "pCoverLastopen", align = Paint.Align.RIGHT)
//    private String pCoverLastopen;
//    @SmartColumn(id = 43, name = "pCoverLastclose", align = Paint.Align.RIGHT)
//    private String pCoverLastclose;
    @SmartColumn(id = 44, width = 200, name = "停电记录", align = Paint.Align.CENTER)
    private String outageRecord;
    @SmartColumn(id = 45, width = 200, name = "电表时间", align = Paint.Align.CENTER)
    private String meterTime;
    @SmartColumn(id = 2, name = "嫌疑等级", align = Paint.Align.CENTER)
    private String analysis;
    @SmartColumn(id = 3, width = 200, name = "描述", align = Paint.Align.CENTER)
    private String analysisResult;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMeterCoding() {
        return meterCoding;
    }

    public void setMeterCoding(String meterCoding) {
        this.meterCoding = meterCoding;
    }

    public String getMeterType() {
        return meterType;
    }

    public void setMeterType(String meterType) {
        this.meterType = meterType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(String finishTime) {
        this.finishTime = finishTime;
    }


    public String getReadingState() {
        return readingState;
    }

    public void setReadingState(String readingState) {
        this.readingState = readingState;
    }

    public String getWheel() {
        return wheel;
    }

    public void setWheel(String wheel) {
        this.wheel = wheel;
    }

    public String getKwh() {
        return kwh;
    }

    public void setKwh(String kwh) {
        this.kwh = kwh;
    }

    public String getKwhGetTime() {
        return kwhGetTime;
    }

    public void setKwhGetTime(String kwhGetTime) {
        this.kwhGetTime = kwhGetTime;
    }

    public String getUa() {
        return ua;
    }

    public void setUa(String ua) {
        this.ua = ua;
    }

    public String getUb() {
        return ub;
    }

    public void setUb(String ub) {
        this.ub = ub;
    }

    public String getUc() {
        return uc;
    }

    public void setUc(String uc) {
        this.uc = uc;
    }

    public String getuGetTime() {
        return uGetTime;
    }

    public void setuGetTime(String uGetTime) {
        this.uGetTime = uGetTime;
    }

    public String getIa() {
        return ia;
    }

    public void setIa(String ia) {
        this.ia = ia;
    }

    public String getIb() {
        return ib;
    }

    public void setIb(String ib) {
        this.ib = ib;
    }

    public String getIc() {
        return ic;
    }

    public void setIc(String ic) {
        this.ic = ic;
    }

    public String getiGetTime() {
        return iGetTime;
    }

    public void setiGetTime(String iGetTime) {
        this.iGetTime = iGetTime;
    }

    public String getIo() {
        return io;
    }

    public void setIo(String io) {
        this.io = io;
    }

    public String getIoGetTime() {
        return ioGetTime;
    }

    public void setIoGetTime(String ioGetTime) {
        this.ioGetTime = ioGetTime;
    }

//    public String getPowerActivePositive() {
//        return powerActivePositive;
//    }
//
//    public void setPowerActivePositive(String powerActivePositive) {
//        this.powerActivePositive = powerActivePositive;
//    }
//
//    public String getPowerActiveReverse() {
//        return powerActiveReverse;
//    }
//
//    public void setPowerActiveReverse(String powerActiveReverse) {
//        this.powerActiveReverse = powerActiveReverse;
//    }

//    public String getPowerGetTime() {
//        return powerGetTime;
//    }
//
//    public void setPowerGetTime(String powerGetTime) {
//        this.powerGetTime = powerGetTime;
//    }
//
//    public String getpTotal() {
//        return pTotal;
//    }
//
//    public void setpTotal(String pTotal) {
//        this.pTotal = pTotal;
//    }
//
//    public String getPa() {
//        return pa;
//    }
//
//    public void setPa(String pa) {
//        this.pa = pa;
//    }
//
//    public String getPb() {
//        return pb;
//    }
//
//    public void setPb(String pb) {
//        this.pb = pb;
//    }
//
//    public String getPc() {
//        return pc;
//    }
//
//    public void setPc(String pc) {
//        this.pc = pc;
//    }
//
//    public String getpGetTime() {
//        return pGetTime;
//    }
//
//    public void setpGetTime(String pGetTime) {
//        this.pGetTime = pGetTime;
//    }
//
//    public String getqTotal() {
//        return qTotal;
//    }
//
//    public void setqTotal(String qTotal) {
//        this.qTotal = qTotal;
//    }
//
//    public String getQa() {
//        return qa;
//    }
//
//    public void setQa(String qa) {
//        this.qa = qa;
//    }
//
//    public String getQb() {
//        return qb;
//    }
//
//    public void setQb(String qb) {
//        this.qb = qb;
//    }
//
//    public String getQc() {
//        return qc;
//    }
//
//    public void setQc(String qc) {
//        this.qc = qc;
//    }
//
//    public String getqGetTime() {
//        return qGetTime;
//    }
//
//    public void setqGetTime(String qGetTime) {
//        this.qGetTime = qGetTime;
//    }
//
//    public String getCosTotal() {
//        return cosTotal;
//    }
//
//    public void setCosTotal(String cosTotal) {
//        this.cosTotal = cosTotal;
//    }
//
//    public String getCosA() {
//        return cosA;
//    }
//
//    public void setCosA(String cosA) {
//        this.cosA = cosA;
//    }
//
//    public String getCosB() {
//        return cosB;
//    }
//
//    public void setCosB(String cosB) {
//        this.cosB = cosB;
//    }
//
//    public String getCosC() {
//        return cosC;
//    }
//
//    public void setCosC(String cosC) {
//        this.cosC = cosC;
//    }
//
//    public String getCosGetTime() {
//        return cosGetTime;
//    }
//
//    public void setCosGetTime(String cosGetTime) {
//        this.cosGetTime = cosGetTime;
//    }
//
//    public String getAngleA() {
//        return angleA;
//    }
//
//    public void setAngleA(String angleA) {
//        this.angleA = angleA;
//    }
//
//    public String getAngleB() {
//        return angleB;
//    }
//
//    public void setAngleB(String angleB) {
//        this.angleB = angleB;
//    }
//
//    public String getAngleC() {
//        return angleC;
//    }
//
//    public void setAngleC(String angleC) {
//        this.angleC = angleC;
//    }
//
//    public String getAngleGetTime() {
//        return angleGetTime;
//    }
//
//    public void setAngleGetTime(String angleGetTime) {
//        this.angleGetTime = angleGetTime;
//    }

    public String getLidOpenNumber() {
        return lidOpenNumber;
    }

    public void setLidOpenNumber(String lidOpenNumber) {
        this.lidOpenNumber = lidOpenNumber;
    }

    public String getLidOpenTime() {
        return lidOpenTime;
    }

    public void setLidOpenTime(String lidOpenTime) {
        this.lidOpenTime = lidOpenTime;
    }

    public String getLidCloseTime() {
        return lidCloseTime;
    }

    public void setLidCloseTime(String lidCloseTime) {
        this.lidCloseTime = lidCloseTime;
    }

//    public String getpLidLastopen() {
//        return pLidLastopen;
//    }
//
//    public void setpLidLastopen(String pLidLastopen) {
//        this.pLidLastopen = pLidLastopen;
//    }
//
//    public String getpLidLastclose() {
//        return pLidLastclose;
//    }
//
//    public void setpLidLastclose(String pLidLastclose) {
//        this.pLidLastclose = pLidLastclose;
//    }

    public String getCoverOpenNumber() {
        return coverOpenNumber;
    }

    public void setCoverOpenNumber(String coverOpenNumber) {
        this.coverOpenNumber = coverOpenNumber;
    }

    public String getCoverOpenTime() {
        return coverOpenTime;
    }

    public void setCoverOpenTime(String coverOpenTime) {
        this.coverOpenTime = coverOpenTime;
    }

    public String getCoverCloseTime() {
        return coverCloseTime;
    }

    public void setCoverCloseTime(String coverCloseTime) {
        this.coverCloseTime = coverCloseTime;
    }

//    public String getpCoverLastopen() {
//        return pCoverLastopen;
//    }
//
//    public void setpCoverLastopen(String pCoverLastopen) {
//        this.pCoverLastopen = pCoverLastopen;
//    }
//
//    public String getpCoverLastclose() {
//        return pCoverLastclose;
//    }
//
//    public void setpCoverLastclose(String pCoverLastclose) {
//        this.pCoverLastclose = pCoverLastclose;
//    }

    public String getOutageRecord() {
        return outageRecord;
    }

    public void setOutageRecord(String outageRecord) {
        this.outageRecord = outageRecord;
    }

    public String getMeterTime() {
        return meterTime;
    }

    public void setMeterTime(String meterTime) {
        this.meterTime = meterTime;
    }

    public String getAnalysis() {
        return analysis;
    }

    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }

    public String getAnalysisResult() {
        return analysisResult;
    }

    public void setAnalysisResult(String analysisResult) {
        this.analysisResult = analysisResult;
    }
}
